# Cohere

import CodeBlock from "@theme/CodeBlock";

LangChain.js supports Cohere LLMs. Here's an example:

You'll first need to install the [`@langchain/cohere`](https://www.npmjs.com/package/@langchain/cohere) package.

import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/cohere
```

import BasicExample from "@examples/models/llm/cohere.ts";

<CodeBlock language="typescript">{BasicExample}</CodeBlock>
